<template>
	<view class="container">
		<view class="house">
			<view class="house-item" @click="toPersonAudit">
				<view class="menu-item-bg">
					<image class="house-item-image" src="../../../static/icon/rent-info.png" mode=""></image>
				</view>
				<view class="house-item-label">人员审核</view>
			</view>
	<!-- 		<view class="house-item">
				<view class="menu-item-bg">
					<image class="house-item-image" src="../../../static/icon/rent-info.png" mode=""></image>
				</view>
				<view class="house-item-label">家庭成员审核</view>
			</view>
			<view class="house-item">
				<view class="menu-item-bg">
					<image class="house-item-image" src="../../../static/icon/rent-info.png" mode=""></image>
				</view>
				<view class="house-item-label">物业审核</view>
			</view> -->
			<view class="house-item" @click="toPayAuth(page1)">
				<view class="menu-item-bg">
					<image class="house-item-image" src="../../../static/icon/rent-info.png" mode=""></image>
				</view>
				<view class="house-item-label">缴费情况</view>
			</view>
			<view class="house-item" @click="toPayAuth(page2)">
				<view class="menu-item-bg">
					<image class="house-item-image" src="../../../static/icon/rent-info.png" mode=""></image>
				</view>
				<view class="house-item-label">授权列表</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				page1: 'pagePay',
				page2: 'pageAuth'
			}
		},
		methods: {
			toPersonAudit() {
				uni.navigateTo({
					url: 'personalAudit/index'
				})
			},
			toPayAuth(val) {
				uni.navigateTo({
					url: '/pages/my/myHouse/payAuth/index?curPage=' + val
				})
			}
		}
	}
</script>

<style scoped lang="scss">
	.house {
		display: flex;
		flex-flow: row wrap;

		.house-item {
			display: flex;
			flex-direction: column;
			align-items: center;
			
			width: 33%;
			margin: 30rpx 0;
			
			.menu-item-bg {
				display: flex;
				align-items: center;
				justify-content: center;
				width: 70rpx;
				height: 70rpx;
				margin-bottom: 20rpx;
				
				.house-item-image {
					width: 60rpx;
					height: 60rpx;
				}
			}

			

			.house-item-label {
				font-size: 28rpx;
			}
		}
	}
</style>
